# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=copy-router-config
pkgver=1.0
pkgrel=0
pkgdesc="copy-router-config and merge-router-config to copy and merge Cisco Routers Configuration"
url="https://www.offensive-security.com/"
arch="noarch"
license="GPL-2.0"
depends="perl perl-cisco-copyconfig"
source="http://ftp.tku.edu.tw/kali/pool/main/c/$pkgname/${pkgname}_$pkgver.orig.tar.gz"

package() {
	for pkg in copy merge; do
		install -Dm755 $pkg-router-config.pl "$pkgdir"/usr/bin/$pkg-router-config.pl
	done
}

sha512sums="0f7b94912d1bac7f676b4383d4b978c9034f58da49f73c2527e13950919b4b7f7451608fdb8340f3f8a83d6a4a9b1e4622cbbfd1ad605a530d258dce9a5c4d3f  copy-router-config_1.0.orig.tar.gz"
